package com.hfy.model.po.admin;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 帖子每日热度表
 * </p>
 *
 * @author 韩
 * @since 2025-03-07
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("post_daily_heat")
public class PostDailyHeatPo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子id
     */
    private Integer postId;

    /**
     * 日期
     */
    private LocalDateTime date;

    /**
     * 当日热度
     */
    private Integer heat;
}
